/* additional fonts */
@font-face {
    font-family: "Crimson Text R";
    src: url('../fonts/CrimsonText-Roman.ttf') format("truetype");
}

/* main structures */
body {
	/*font-family: "Segoe UI";*/
	font-family: "Crimson Text R";
	font-style: normal;
	font-size: 0.95em;
	color: rgba(255,248,160,1);
	margin-left: auto;
	margin-right: auto;
	width: 960px;
	background-color: rgba(36,72,0,1);
}

div {
    border: 1px solid rgba(255,244,108,0.5);
}
#head {
	min-height: 172px;
	max-height: 172px;
	padding: 4px 30px 4px 30px;
	background: linear-gradient(90deg, rgba(192,192,0,1) , rgba(192,144,0,0) 27px, rgba(192,168,0,0.25) 362px, rgba(192,144,0,0) 931px, rgba(192,192,0,1));
}
#mainlinks {
	padding: 4px 30px 4px 30px;
	background: linear-gradient(90deg, rgba(192,192,0,1) , rgba(192,144,0,0) 27px, rgba(192,168,0,0.25) 362px, rgba(192,144,0,0) 931px, rgba(192,192,0,1));
}
#contentbar {
	float: left;
	width: 660px;
	padding: 10px 32px 10px 32px;
	background: linear-gradient(90deg, rgba(192,192,0,1) , rgba(192,144,0,0) 27px, rgba(192,168,0,0.25) 362px, rgba(192,144,0,0) 697px, rgba(192,192,0,1));
}
#menubar {
    float: right;
    width: 200px;
    padding: 10px 16px 10px 16px;
    background: linear-gradient(90deg, rgba(192,192,0,1) , rgba(192,144,0,0) 11px, rgba(192,168,0,0.25) 108px, rgba(192,144,0,0) 205px, rgba(192,192,0,1));
}
#foot {
    clear: both;
    padding: 4px 16px 4px 16px;
    background: linear-gradient(90deg, rgba(192,192,0,1) , rgba(192,144,0,0) 27px, rgba(192,168,0,0.25) 362px, rgba(192,144,0,0) 931px, rgba(192,192,0,1));
}

/* sub-structures */
div.spacer {
    margin: 40px 0px 40px 0px;
    border: 0px;
}
div.spacerhalf {
    margin: 20px 0px 20px 0px;
    border: 0px;
}
div.postentry {
	margin: 20px 0px 20px 0px;
	border: 1px solid rgba(224,244,232,0.33);
    background-color: rgba(0,80,0,0.2);
    padding: 0px 9px 0px 9px;
}
div.postcontent {
    margin: 16px 0px 36px 0px;
    border: 0px;
    text-align: justify;
}
div.postfootbar {
    width: 75%;
    border: 0px;
    border-top: 1px solid rgba(224,244,232,0.33);
    /*border-bottom: 1px solid rgba(224,244,232,0.33);*/
    margin: 0px auto 0px auto;
    background-color: rgba(0,80,0,0.4);
}
div.postfootbar div.lft {
	width: 60%;
	border: 0px;
	float: left;
}
div.postfootbar div.rth {
	width: 40%;
	border: 0px;
	float: right;
	text-align: right;
}
div.postfootbar div.end {
	border: 0px;
	clear:both;
}
div.commententry {
    margin: 12px 0px 12px 0px;
	border: 0px;
}
div.commentinfo {
	width: 24%;
	border: 0px;
	float: left;
	padding: 6px 0px 6px 0px;
}
div.commentpublic {
    width: 70%;
    border: 1px solid rgba(160,255,64,0.5);
    background-color: rgba(0,80,0,0.2);
    padding: 6px 9px 6px 9px;
    float: right;
    min-height: 2.7em;
}
div.commentprivate {
	width: 70%;
    border: 1px solid rgba(255,160,64,0.67);
    background-color: rgba(0,80,0,0.2);
    padding: 6px 9px 6px 9px;
    float: right;
    min-height: 2.7em;
}
div.commentend {
	border: 0px;
	clear:both;
}


/* text styles */
h1, h2 {
	text-align: center;
}
h1 {
	font-size: 2.8em;
	margin: 8px 0px 20px 0px;
}
h2 {
	font-size: 2.0em;
	margin: 9px 0px 9px 0px;
} 
h3 {
	font-size: 1.55em;
	margin: 6px 0px 6px 0px;
}
h4 {
	font-size: 1.25em;
	margin: 4px 0px 4px 0px;
}
h5 {
	font-size: 0.95em;
	margin: 0px 0px 0px 0px;
}
p {
    margin: 2px 0px 6px 0px;
    text-align: justify;
}
#foot p, #foot h3, #head h4 {
	text-align: center;
}
/* list styles */
ul {
    list-style-type: square;
}
/* link styles */
a {
    text-decoration: none;
    font-weight: bold;
    font-size: 0.90em;
}
a:link {
	color: rgba(255,228,0,1);
	padding: 2px;
}
a:visited {
	/*color: rgba(232,232,0,1);*/
	color: rgba(255,228,0,1);
	padding: 2px;
}
a:active {
	color: rgba(160,255,0,1);
	padding: 2px;
}
a:hover {
	color: rgba(208,255,0,1);
	border-style: solid;
	border-color: rgba(208,255,0,0.5);
	border-width: 1px;
	border-radius: 1px;
	padding: 1px;
}

/* other formatting */
.error {
	color: rgba(255,108,0,1);
	border-style: solid;
	border-color: rgba(255,108,0,0.75);
	border-width: 1px;
	border-radius: 3px;
	padding: 1px 5px 1px 5px;
}
pre {
	font-family: "Crimson Text R";
	font-style: normal;
	font-size: 0.95em;
	margin: 0px;
	/* Wrapping Text */
	white-space: pre-wrap;       /* css-3 */
	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
	white-space: -pre-wrap;      /* Opera 4-6 */
	white-space: -o-pre-wrap;    /* Opera 7 */
	word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

/* table styles */


/* form styles */
form.ms {
    padding: 8px 0px 8px 0px;   
}
form.ms fieldset {
	border-style: solid;
    border-color: rgba(224,244,232,0.75);
    border-width: 1px;
    border-radius: 4px;
    margin: 5px 0px 5px 0px;
}
form.ms legend {
    font-weight: bold;    
}
form.ms label.lft {
	clear: both;
	float: left;
	padding: 0px 8px 0px 0px;
	text-align: right;
}
#regform label.lft, #editform label.lft, #newpostform label.lft {
    width: 110px;    
}
#feedbackform label.lft {
    width: 130px;
}

#content {
	width: 629px;
}

form.ms label.rad {
	float: left;
	padding: 0px 4px 0px 4px;
	text-align: right;
}
form.ms p {
	margin: 0px 0px 0px 0px;
}
form.ms span.lft {
    width: 50%;
    float:left;
}
form.ms span.rth {
    width: 50%;
    float:right;
    margin: 4px 0px 0px 0px;
}
form.ms input, select, textarea {
    float: left; 
}
form.ms br {
    clear:both;
}
/* 'ms' stands for elements placed in main section (aka. contentbar) */
button.submit {
	margin: 10px 0px 0px 0px;
}
label {
	margin: 3px 0px 3px 0px;
}
option {
	background-color: rgba(36,72,0,1);
}
textarea {
	resize: none;
}
input, select, textarea {
    margin: 3px 0px 3px 0px;
    padding: 0px 2px 2px 2px;
    font-family: "Crimson Text R";
	font-style: normal;
	font-size: 0.95em;
	background-color: rgba(0,80,0,0.2);
	color: rgba(224,244,232,1);
	border: 1px solid rgba(224,244,232,0.67);
	border-radius: 3px;
}
input:hover, select:hover, textarea:hover, input:focus, select:focus, textarea:focus {
    border: 1px solid rgba(224,244,232,1);
}